package com.beauty.dressing.rxandroid.api;

import com.beauty.dressing.common.bean.BaseParse;
import com.beauty.dressing.common.bean.LeaseOrderResp;
import com.beauty.dressing.common.bean.SalesOrderResp;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 对应后台/order工程
 *
 * @author xutingz
 * @E-mail xutz@xianlanba.com
 * @date 2018/04/11
 */

public interface PayApi {


    @FormUrlEncoded
    @POST("alipayPay")
    Observable<BaseParse<Object,Object>> createAliPay(@FieldMap Map<String, String> map); //

    @FormUrlEncoded
    @POST("wxpayPay")
    Observable<BaseParse<Object,Object>> createWxPay(@FieldMap Map<String, String> map); //


}
